﻿using System;
using System.Diagnostics;


using enyo;

namespace Sample
{
    public class Class1 : enyo.Object
    {
        private Component[] Components = new Component[]
        {
        };

        public object Published = new {x = 100 , y = 200, z = 300};

        private Binding[] Bindings = new Binding[]
        {
            new Binding(){From = "", To= "", OneWay=false}
        };

        private object Computed = new 
        {
            xyz = new string[]{"x", "y", "z"}
        };

        private int xyz()
        {
            IDataModel m = null;
            return (int)this.Get("x") + (int)this.Get("y") + (int)this.Get("z");
        }
    }
}
